package com.bean;


/**
 * 菜品表
 * @author Administrator
 *
 */
public class Food {
    private Integer foodId;

    private String foodName;

    private String pinyin;

    private Integer classificationId;

    private Integer unitId;

    private Double productPrice;

    private Double sellPrice;

    private String photo;

    private String remark;
    
    /**
     * 菜的计量单位  一对一的关系
     */
    private Unit unit;
    
    /**
     * 菜的菜系分类   一对一的关系
     */
    private Classification classification;
    

    
    
    
    


	public Unit getUnit() {
		return unit;
	}

	public void setUnit(Unit unit) {
		this.unit = unit;
	}

	public Classification getClassification() {
		return classification;
	}

	public void setClassification(Classification classification) {
		this.classification = classification;
	}

	public Integer getFoodId() {
        return foodId;
    }

    public void setFoodId(Integer foodId) {
        this.foodId = foodId;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public Integer getClassificationId() {
        return classificationId;
    }

    public void setClassificationId(Integer classificationId) {
        this.classificationId = classificationId;
    }

    public Integer getUnitId() {
        return unitId;
    }

    public void setUnitId(Integer unitId) {
        this.unitId = unitId;
    }

    public Double getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(Double productPrice) {
        this.productPrice = productPrice;
    }

    public Double getSellPrice() {
        return sellPrice;
    }

    public void setSellPrice(Double sellPrice) {
        this.sellPrice = sellPrice;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

	@Override
	public String toString() {
		return "Food [foodId=" + foodId + ", foodName=" + foodName
				+ ", pinyin=" + pinyin + ", classificationId="
				+ classificationId + ", unitId=" + unitId + ", productPrice="
				+ productPrice + ", sellPrice=" + sellPrice + ", photo="
				+ photo + ", remark=" + remark + ", unit=" + unit
				+ ", classification=" + classification + "]";
	}
    
    
}